<!--课程-->
<div class="panel panel-default">
  <div class="panel-heading">
    <i class="fa fa-book"></i> 课程列表 <a href="<?= Yii::app()->createUrl('lesson/list') ?>"><span
          class="label label-success">更多</span></a>
  </div>
  <div class="panel-body">
    <?php foreach ($lesson['list'] as $key=>$row): ?>
    <?php include(Yii::app()->basePath.'/views/component/lesson-article-item.php'); ?>
    <?php endforeach ?>
  </div>
  <div class="panel-footer">
    <i class="fa fa-coffee"></i> 这里可以学习最新的课程
  </div>
</div>
<!--题库-->
<div class="panel panel-default">
  <div class="panel-heading">
    <i class="fa fa-bookmark"></i> 题库列表 <a href="<?= Yii::app()->createUrl('bank/list') ?>"><span
          class="label label-success">更多</span></a>
  </div>
  <div class="panel-body">
    <?php foreach ($bank['list'] as $key=>$row): ?>
      <?php include(Yii::app()->basePath.'/views/component/bank-question-item.php'); ?>
    <?php endforeach ?>
  </div>
  <div class="panel-footer">
    <i class="fa fa-flask"></i> 这里可以测试知识的掌握程度
  </div>
</div>
<!--问题-->
<div class="panel panel-default">
  <div class="panel-heading">
    <i class="fa fa-question-circle"></i> 在线答疑 <a href="<?= Yii::app()->createUrl('issue/list') ?>"><span
          class="label label-success">更多</span></a>
  </div>
  <div class="panel-body">
    <p><a href="<?= Yii::app()->createUrl('issue/post') ?>" class="btn btn-default">在线提问</a></p>
    <?php foreach ($issue['list'] as $row): ?>
      <?php include(Yii::app()->basePath.'/views/component/list-issue-item.php'); ?>
    <?php endforeach ?>
  </div>
  <div class="panel-footer">
    <i class="fa fa-keyboard-o"></i> 有什么不懂的问题可以到这里来
  </div>
</div>
<!--讨论-->
<div class="panel panel-default">
  <div class="panel-heading">
    <i class="fa fa-comments-o"></i> 在线讨论 <a href="<?= Yii::app()->createUrl('topic/list') ?>"><span
          class="label label-success">更多</span></a>
  </div>
  <div class="panel-body">
    <p><a href="<?= Yii::app()->createUrl('topic/post') ?>" class="btn btn-default">发表话题</a></p>
    <?php foreach ($topic['list'] as $row): ?>
      <?php include(Yii::app()->basePath.'/views/component/list-topic-item.php'); ?>
    <?php endforeach ?>
  </div>
  <div class="panel-footer">
    <i class="fa fa-smile-o"></i> 有什么好的学习点子，学习方法，跟小伙伴们分享吧！
  </div>
</div>